package idea;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Debug03
 * Package: idea
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-12-24
 * Time: 20:51
 */

//字段断点
public class Debug03 {

    public static void main(String[] args) {

        Person p1 = new Person(3);

        System.out.println(p1);


    }

}


class Person{

    //字段 断点 修改当前熟悉的时候会停留一下
    private int id = 1;

    private String name;

    public Person(){

    }

    {
        id = 2;
    }

    public Person(int id){
        this.id = id;

    }


    public Person(int id,String name){

    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}